***Replication files for ONLINE APPENDIX of Jakana L. Thomas. 2022. ``Sisters Are Doing it for Themselves: How Female Combatants Help Generate Gender-Inclusive Peace Agreements in Civil Wars" at American Political Science Review.***

use Thomas_APSR_2023_appendix.dta,clear


label variable cat4_prevalence_best "Female Combat Prevalence"
label variable exc_eq "Women's Equality"
label variable Allddr "Gender-Inclusive DDR/Rehab"
label variable WINGOImputed_fill "Women's INGOs"
label variable  v2x_gencs "Women's Civil Society Participation"
label variable  v2x_gencl "Women's Civil Liberties"     
label variable nonvprotgovt "Number of Anti-state Women's Protests"
label variable lgt "Agreement Length"
label variable  substantive "Substantive Agreement"
label variable  ideolleft "Leftist Rebel Ideology"
label variable religious "Religious Rebel Ideology"
label variable UNintervention "UN Involvement"
label variable majpowintervention "Major Power Involvement"
label variable UN1325 "Post UN 1325"
label variable beijing "Post Beijing"
label variable UNwomen "UN Women Office"
label variable ODA "Official Development Aid"
label variable ODA_women "Official Development Aid Earmarked for Women's Empowerment'"
label variable eqgen_binary "Equality Provision"
label variable ssrddr_binary "DDR provision"
label variable marginalized_excluded "Inclusion of Marginalized"
label variable wggrehab "Gender Inclusive Rehabilitation Provision"
label variable wggddr "Gender Inclusive DDR"
label variable anyclaim "Ethnic Claim"
label variable ethnic "Ethnic Identity Foundation"
*label define ordinal 0 "None" 1 "Low" 2 "Moderate" 3 "High"
label values cat4_prevalence_best ordinal
label variable Krause_wpm_neg "Women Signatories"
label variable substantive "Substantive Agreement"
label variable v2x_gender "Women Political Empowerment Index"
label variable v2x_gencl "Women Civil Liberties Index "
label variable low "Low Female Combatant Prevalence"
label variable high_moderate "High or Moderate Female Combatant Prevalence"
label variable leaders_lt "Female Rebel Leaders (low threshold)"
label variable leaders_ht "Female Rebel Leaders (high threshold)"
label variable num_agt_2 "Total Number of Agreements"
label variable running_agt "Running Number of Agreements"
label variable new_conflictid "UCDP Conflict ID"
label variable country "Country Name"

**Appendix Section 2

*section 2.2: Disaggregating Equality measure

*Table A1: Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Agreement Provisions-Recoding Marginalization

*Table A.1, Model 1
logit discrimination_all  cat4_prevalence_best if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1
margins,  dydx(cat4_prevalence_best) at((asobserved))  level(95) 
marginsplot, ytitle(Anti-discrimination) allxlabels  
graph save discrimination_all.gph, replace

*Table A.1, Model 2
logit marginalized_excluded  cat4_prevalence_best if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2
margins,  dydx(cat4_prevalence_best) at((asobserved))  level(95) 
marginsplot, ytitle(Anti-Marginalization) allxlabels 
graph save marginalized_excluded.gph, replace

*Table A.1, Model 3
logit wggdev cat4_prevalence_best  if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m3
margins,  dydx(cat4_prevalence_best) at((asobserved))  level(95) 
marginsplot, ytitle(Development) allxlabels  
graph save wggdev.gph, replace

*Figure A.1
graph combine discrimination_all.gph marginalized_excluded.gph wggdev.gph, ycommon l1(Expected Change in Probability of a Gender-Inclusive Provision) 

*Table A.1, Model 4
logit wggedu cat4_prevalence_best  if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m4
*Table A.1, Model 5
logit wgghea cat4_prevalence_best  if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m5

esttab  m1 m2 m3 m4 m5  using "tablea1.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Table A.2: Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Equality Provisions-Disaggregating equality Measure

*Table A.2, Model 1

logit wggeq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.2, Model 2
logit wggsoceq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

*Table A.2, Model 3
logit wgggrp cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m3

esttab  m1 m2 m3   using "tablea.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Appendix Section 3

*Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Reintegration and Rehabilitation Provisions- Disaggregating Reintegration Measure

*Table A.3, Model 1
logit wggddr cat4_prevalence_best nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt   v2x_gencl Krause_wpm_neg  ssrddr_binary substantive  if  interstateonly==0 &inter_intrastate==0 , cluster (cowcode)

estimates store m1

*Table A.3, Model 2
logit wggrehab cat4_prevalence_best nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt   v2x_gencl Krause_wpm_neg  ssrddr_binary substantive  if  interstateonly==0 &inter_intrastate==0 , cluster (cowcode)

estimates store m2

esttab  m1 m2 using "tablea3.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 4
*section 4.1: Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Agreement Provisions- Excluding Agreements from Colombia and Nepal
*Table A.4, Model 1
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if nepal==0 & colombia==0 & interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.4, Model 2
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if nepal==0 & colombia==0 & interstateonly==0 &inter_intrastate==0 , cluster (cowcode)
estimates store m2

esttab  m1 m2  using "tablea4.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 5: Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Agreement Provisions- Only Including Agreements in UCDP Peace Agreement Dataset
*Table A.5, Model 1
logit  exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary  if interstateonly==0 &inter_intrastate==0 & paid~=., cluster(cowcode)
estimates store m1

*Table A.5, Model 2
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary  if interstateonly==0 &inter_intrastate==0 & paid~=., cluster(cowcode)
estimates store m2

esttab  m1 m2  using "tablea5.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Appendix Section 6: Robustness checks examining results on Substantive agreements only

*Table A.6, Model 1
logit Allddr cat4_prevalence_best nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt   v2x_gencl Krause_wpm_neg  ssrddr_binary  if  interstateonly==0 &inter_intrastate==0 & substantive==1, cluster (cowcode)
estimates store m1

*Table A.6, Model 2
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 & inter_intrastate==0 & substantive==1, cluster (cowcode)
estimates store m2

esttab  m1 m2  using "tablea6.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 7: Logistic Regression Analyses Examining the Effect of Female Combatants on Gender Inclusive Equality Provisions- Ethnic Dimensions

*Table A.7, Model 1:  Ethnic Foundations (FORGE)
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0 & ethnic==1, cluster (cowcode)
estimates store m1

*Table A.7, Model 2:  No Ethnic Foundations (FORGE)

logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0 & ethnic==0, cluster (cowcode)
estimates store m2


esttab  m1 m2 using "tablea7.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Appendix Section 8: International Influence
*section 8.1 UN1325, Beijing
*Table A.8, Model 1
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UN1325  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.8, Model 2
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  beijing  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

*Table A.8, Model 3
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UN1325  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m3

*Table A.8, Model 4
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  beijing  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m4

esttab  m1 m2 m3 m4 using "tablea8.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*section 8.2: ODA
*Table A.9: Logistic Regression Analyses Examining the Effect of Female Combatant Prevalence on Gender-Inclusive Peace Agreement Provisions Official Development Aid

*Table A.9, Model 1
logit exc_eq cat4_prevalence_best ODA nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.9, Model 2
logit exc_eq cat4_prevalence_best ODA_women nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

*Table A.9, Model 3
logit Allddr cat4_prevalence_best ODA nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m3

*Table A.9, Model 4
logit Allddr cat4_prevalence_best ODA_women nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m4

esttab  m1 m2 m3 m4 using "tablea9.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 9: Replications Including Measures of Gender Equality

*section 9.1
*Table 10: Logistic Regression Analyses Examining the Effect of Female Combatant Prevalence on Gender-Inclusive Peace Agreement Provisions- Measures of Gender Equality
*Table A.10, Model 1
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg v2x_gender eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.10, Model 3
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl  Krause_wpm_neg  Adolescentfertilityratebirth eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)

estimates store m2

*Table A.10, Model 4
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  Ratiooffemaletomalelaborfo eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)

estimates store m3

esttab  m1 m2 m3  using "tablea10.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Table 11: Logistic Regression Analyses Examining the Effect of Female Combatant Prevalence on Gender-Inclusive Peace Agreement Provisions- Measures of Gender Equality

*Table A.11, Model 1
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg v2x_gender ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.11, Model 2
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg Adolescentfertilityratebirth ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

*Table A.11, Model 3
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg Ratiooffemaletomalelaborfo ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m3

esttab  m1 m2 m3 using "tablea11.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*section 9.2
*Table A.12: Logistic Regression Analyses Examining the Effect of Female Combatants on Gender inclusive Peace Agreement Provisions- including measure controlling for women in parliament
*Table A.12, Model 1
logit exc_eq cat4_prevalence_best women_parliament_current if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.12, Model 2
logit Allddr cat4_prevalence_best women_parliament_current if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

esttab  m1 m2 using "tablea12.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 10: Alternate Measurements of Female Combatants
*Table A.13: Logistic Regression Analyses Examining the Effect of Female Combatant Prevalence on Gender-Inclusive Peace Agreement Provisions
*Table A.13, Model 1
logit Allddr  low  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1

*Table A.13, Model 2
logit Allddr  low high_moderate nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

esttab  m1 m2 using "tablea13.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Table A.14: Logistic Regression Analyses Examining the Effect of Female Combatants on Gender Inclusive Agreement Provisions- including female rebel leadership controls (Henshaw et al 2019 data)
*Table A.14, Model 1
logit exc_eq cat4_prevalence_best leaders_lt nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0 , cluster (cowcode)
estimates store m1 

*Table A.14, Model 2
logit Allddr cat4_prevalence_best leaders_lt nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary  if  interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

esttab  m1 m2 using "tablea14.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Appendix Section 11: Controlling for Multiple Agreements

*Table A.15: Logistic Regression Analyses Examining the Effect of Female Combatants on Gender Inclusive Agreement Provisions- controlling for total number of agreements

*Table A.15, Model 1
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary num_agt if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1 

*Table A.15, Model 2
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary num_agt if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m2

esttab  m1 m2 using "tablea15.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 


*Table A.16: Logistic Regression Analyses Examining the Effect of Female Combatants on gender inclusive Agreement Provisions- Controlling for running total agreements

*Table A.16, Model 1
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary running_agt if interstateonly==0 &inter_intrastate==0, cluster (cowcode)
estimates store m1 

*Table A.16, Model 2
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  ssrddr_binary running_agt if interstateonly==0 &inter_intrastate==0, cluster (cowcode)

estimates store m2

esttab  m1 m2 using "tablea16.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 

*Appendix Section 12: Alternative Clustering

*Table A.17: Logistic Regression Analyses Examining the Effect of Female Combatants on Gender Inclusive Agreement Provisions- standard errors clustered on conflict


*Table A.17, Model 1
logit exc_eq cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary if interstateonly==0 &inter_intrastate==0, cluster (new_conflictid)
estimates store m1

*Table A.17, Model 2
logit Allddr cat4_prevalence_best  nonvprotgovt v2x_gencs WINGOImputed_fill  UNintervention majpowintervention  UNwomen  religious ideolleft  lgt substantive  v2x_gencl Krause_wpm_neg  eqgen_binary  if interstateonly==0 &inter_intrastate==0, cluster (new_conflictid)

estimates store m2
esttab  m1 m2 using "tablea1.tex", replace se label scalars(bic aic) star(* 0.10 ** 0.05 *** 0.01) 
